package com.example.beautymakeup.service;

import com.example.beautymakeup.domain.PageBean;
import com.example.beautymakeup.pojo.Hot;


public interface HotService {
    PageBean<Hot> get(String token) throws Exception;

    PageBean<Hot> getAll(String token,int page, int size) throws Exception;

    PageBean<Hot> getAll(String token) throws Exception;

    boolean update(String token,Hot hot) throws Exception;

    boolean add(String token,Hot hot) throws Exception;

    boolean ban(String token,Hot hot) throws Exception;

    boolean delete(String token,Hot hot) throws Exception;
}
